import 'package:flutter/material.dart';
import 'package:practice_flutter/router/index.dart';

void main() {
  runApp(MaterialApp(
    routes: RouterManger.routers,
    //登录拦截
    onGenerateRoute: (settings) => RouterManger.onGenerateRoute(settings),
    //初始化路由路径
    initialRoute: '/',
  ));
}
// hello

// flutter run -d chrome --web-renderer html
// file:///C:/Users/Administrator/Desktop/gradle-8.10.2-bin.zip
